package com.dt76.smallloanbackendservice.mapper.lhuaw;

import com.dt76.smallloanbackendservice.pojo.lhuaw.AppPushMessage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppPushMessageMapper {
    List<AppPushMessage> qryAllApp();
    //动态查询+分页
    List<AppPushMessage> getConditionPageAllAppPushMessage(
            @Param("start") int start,
            @Param("size") int size,
            @Param("pushTitle") String pushTitle,
            @Param("appPublisher") String appPublisher
    );
    int qryConditionCountAppPushMessage(@Param("pushTitle") String pushTitle,
                          @Param("appPublisher") String appPublisher
    );
    //删除
    void deleteApp(@Param("appId") int appId);
}
